//
// Created by Martin on 2021/9/30.
//

#include "ConcreteCommand.h"

void ConcreteCommand::execute()
{
    receiver->action();
}

ConcreteCommand::ConcreteCommand(Receiver *receiver)
{
    this->receiver = receiver;
}
